<!--
 * @Descripttion: 
 * @version: 
 * @Author: -ViJia
 * @Date: 2022-03-17 10:12:16
 * @LastEditors: -ViJia
 * @LastEditTime: 2022-03-22 11:16:16
-->
<template>
    <div class="logo">
        <router-link :to="{name:'index'}">
            <div>
                <!-- <img src="~@/assets/babymo/logo.png"> -->
                <h1 v-if="showTitle">{{ title }}</h1>
            </div>
        </router-link>
    </div>
</template>
<script>
    export default {
        name: 'Logo',
        props: {
            title: {
                type: String,
                default: '药界-商品供应商后台',
                required: false,
            },
            showTitle: {
                type: Boolean,
                default: true,
                required: false,
            },
        },
    };
</script>